<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: Master
  Date: 2022/12/1
  Time: 10:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/brandUpdate" method="get">
    <div>
        <div>id</div>
        <div><input type="text" name="id" value="${model.id}" readonly></div>
    </div>
    <div>
        <div>品牌名称</div>
        <div><input type="text" name="name" value="${model.name}"></div>
    </div>
    <div>
        <div>企业名称</div>
        <div><input type="text" name="enterpriseName"  value="${model.enterpriseName}"></div>
    </div>
    <div>
        <div>排序</div>
        <div><input type="text" name="sort"   value="${model.sort}"></div>
    </div>
    <div>
        <div>品牌介绍</div>
        <div><input type="text" name="describe"   value="${model.describe}"></div>
    </div>
    <div>
        <div>状态</div>
        <div><input type="text" name="status"   value="${model.status}"></div>
    </div>
    <div><input type="submit" value="提交"></div>
</form>
<c:if test="${res==1}">
    修改成功
    <input type="button" value="点击返回查询页面" onclick="window.location.href='/findAll'">
</c:if>


</body>
</html>
